import java.util.ArrayList;
/**
 * Write a description of class Etudiant here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Etudiant
{
    // instance variables - replace the example below with your own
    private int x;
    private String nom;
    private String prenom;
    private universite univ1;

    /**
     * Constructor for objects of class Etudiant
     */
    public Etudiant(String nom, String prenom)
    {
        // initialise instance variables
        x = 0;
        nom=this.nom;
        prenom=this.prenom;
    }

    /**
     * An example of a method - replace this comment with your own
     * 
     * @param  y   a sample parameter for a method
     * @return     the sum of x and y 
     */
    public int sampleMethod(int y)
    {
        // put your code here
        return x + y;
    }
    
    public void setUniversite(universite u1){
        univ1=u1;
    }
    
    public universite getUniversite(){
        return univ1;
    }
    
    public void setNom(String nom){
        nom=this.nom;
    }
    
    public String getNom(){
        return nom;
    }
    
    public void setPrenom(String prenom){
        prenom=this.prenom;
    }
    
    public String getPrenom(){
        return prenom;
    }
}
